﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DogJson
{
    public unsafe abstract class CollectionArrayBase
    {
        public virtual void Add(object obj, int index, object value)
        {
        }
        public virtual void AddValue(object obj, int index, char* str, JsonValue value)
        {
        }
        public abstract object CreateArray(int arrayCount, Type arrayType, Type parentType);
        public virtual object End(object obj)
        {
            return obj;
        }
        public abstract Type ItemType(int index);
    }

}
